package com.polaris.live.ui.live.widget.listener

import com.polaris.live.im.sfs.bean.live.CallSignalingMessage
import com.polaris.live.ui.live.widget.OnLiveAnswerListener

/**
 * OnLiveEventListener
 *
 * @author Created by lucas on 2023/11/10 19:26
 */
interface OnLiveEventListener {

    /**
     * 来电
     */
    fun onLivingToCall(callBean: CallSignalingMessage)

    /**
     * 取消来电
     */
    fun onCancelToCall(callBean: CallSignalingMessage)

    /**
     * 设置回调
     */
    fun setOnLiveCallCallback(l: OnLiveCallCallback)

    /**
     * 设置接听回调
     */
    fun setOnLiveAnswerListener(l: OnLiveAnswerListener)

    /**
     * 恢复直播间
     */
    fun onRecoverLive()

}